
$GetAllExecutedPatchesClass = New-PSClass GetAllExecutedPatches -inherit $PSSqlCommandClass {
	
	note Query @"
	SELECT FilePath, CheckSum, Applied AppliedTime
    FROM [DBFramework].[FileControl] as ExecutedFile
     FOR XML AUTO, ROOT('ExecutedFiles')
"@
	
	Constructor {
		Base $Args[0]
		
	}

    method Execute {
		  (ReadXmlIntoObjectTree $this.LoadAndExecuteXmlQuery($this.Query)).ExecutedFile
	}
}

